032 factory automation example on comparator mov operators

开始看到它们,一切都在 Dorian 中,在这段视频中,我们将了解战斗和数学运算符的应用部分。
Begin to see them it's all in the Dorian in this video we are going to understand the application part of combat and math operators right.

因此,这里的目标是在需要时提供更多水并控制水箱中的水位。
So the objective here is to more when needed and control the level of water in a tank.

好的,我们要做的就是再次使用我们使用计时器完成的相同应用程序。
OK so what we have to do we have the same application again which we have done using timers.

现在我们将像我之前讨论的那样以模拟模式进行控制。
Now we are going to control that in analog mode as I discussed before.

所以我们必须监控它的水位,我们必须在显示屏上显示该水位,我们必须控制大坝中的水位。
So we have to monitor its level and we have to display that level in the display and we have to control the level of water in the dam.

好的,让我们看看那里有哪些不同的逐步对象。
OK so let's see what are the various step wise object there.

在这里,我们将练习比较命令和小于等于范围移动元素分配。
And here we will practice the commands compare and then less then equal into range move element allocation.

所以算术移动比较命令相同。
So the same arithmetic move compared commands.

那么让我们继续吧。
So let's proceed.

其目的是让您控制水箱中的水位。
The object there is to want you to control the level of water in a tank.

所以这是一个控制面板。
So this is a control panel.

我们有液位指示器。
We have the liquid level indicator.

这是我们的唐,那是绿墙。
This is our Tang and that's are green walls.

所以坦克的配置就多了很多。
So the tank has been configured with a lot more.

因此,我们在工厂使用的时间已经配置为模拟模式,因为我们必须使用比例瓦特。
So the time which we are using in the factory is already configured with the analog mode because we have to work with proportionate watts.

因此,错误步骤被分配了输入和输出。
So false step is assigned the inputs and outputs.

所以我们在这里所做的就是使用训练按钮作为输入停止按钮和紧急停止按钮。
So what we have done here we have used the training button as an input stop button and emergency stop.

我们只有三个输入。
We had just three inputs.

现在您会注意到我们这里没有任何填充按钮,因为在本例中我们使用培训作为手动排水的手册。
Now you will notice that we don't have any filling button here because in this example we are using training as manuals we had manually draining the water.

我们将根据水位,使用按钮手动排水。
We are going to drain the water manually using a button but based on the level.

当你排干水时,水位会降低,这种感觉会自动完成。
When you drain the water that level will decrease the feeling will be done automatically.

所以失败的墙就在这里。
So the failed Wall is here.

好的。
OK.

这是与油的比例成比例的损失。
This is a proportional loss by proportion of oil.

我的意思是我们必须为墙壁提供数值才能启动。
I mean we have to give numerical values to the walls to actuate.

我们不能让它断断续续地运行。
We cannot make it run on and off.

这就是为什么这里。
That's why this is here.

这就是钻的名字。
This is the name drill.

我将在下一张幻灯片中详细解释这堵墙如何工作、如何打开和关闭。
I would explain more in the next slide how this wall would work how to sort of be open and closed.

类似地,我们有一个排放墙作为模拟,因为我们已经配置了模拟模式,因此排放卷具有实时的 Kuli 四之一和两天的泄漏水平显示。
Similarly we have a discharge wall as an analog because we have configured the down an analog mode so the discharge roils is having a real time of Kuli one of four and leakage level display in both days.

问:八个都想要吗?
Q Do you want all eight.

这些是我们的模拟输出。
So these are our analog outputs.

好的。
OK.

在模拟输入中,我们有一个连接到 ID 100 的水箱液位计,因为水箱的液位必须更宽,而更宽的双液位传感器只会在视觉上给我们 ID 100 中的值。
In analog input we have the tank one level meter which is connected to ID 100 because the level of the tank has to be wider and that the wider bi level sensor would just visually give us the value in ID 100.

好的,让我们一一看看我们必须如何进行的步骤。
OK so let's see the steps one by one how we have to proceed.

我们可以在后面的幻灯片中看到这一点。
We can see that in the later slide.

因此,像之前讨论的那样定义类型,我们总是在 CIA 中定义时间和外观,以便编程变得容易并且易于不同的人理解。
So define the types as discussed before we always defined the time and seem in CIA so that the programming becomes easy and its easy to understand by different people.

所以配置下来已经完成了很多工作。
So configured the down in a lot more that has been done.

现在让我们继续了解模拟输入和输出在工厂中的工作原理。
So let's proceed now how analog input and output works in factory.

让我们看一下这里的例子,它说坦克一级 MIEDO。
So let's see here example it says tank one level MIEDO.

这就是 80 100 的回报。
This is having it back 80 100.

所以堆栈就在这里。
So the stack is here.

那么,如果水箱液位为 0%,会发生什么情况,我将在灾难 ID 100 中自动获得此体积 0 1 和 0。
So what happens if the level of the tank as 0 percent I will get this volume 0 1 and 0 automatically in my disaster ID 100.

好的,如果我连接到此 ID 1,我将在 4 上获得一个 ID。
OK if I connected to this ID one for I will get an ID on the four.

因此,这取决于您可以在相同的数据中使用电平表。
So it depends where you can take your level meter in the same data.

所以你会得到价值观。
So you will get the values.

因此,对于自由主义者或任何其他人,您将得到值 2.5。
So for liberalist or any other person you will get the value 2.5.

所以这个值是真实的。
So this value is real.

这就是为什么我们真的可以做到这一点,如果每小时 50 美元,这个人可以得到 5 分零,然后博因斯你可以得到 7 分 500 英里。
That's why we have this really you can if it is 50 bucks an hour and get five point zero for this person and get seven point five hundred miles an then Boynes you.

这就是我在 PNC 中获得的基于生活的价值。
That's the value I'm getting in the PNC based on the living.

好的。
OK.

这是中心现在自动给出的这个值。
This is this value is given by the center automatically right now.

在模拟输出上,我们有类似的比率。
And on the analog output we have similar you know ratio.

因此,对于可释放的恩惠,这是一个释放。
So for the favors dischargeable this is a here that's a discharge.

如果现在输入来自 Bielski,则这里是输入。
Here is the input if the input now this input will come from the Bielski.

如果我给出输入常数,我们假设 0.0 是安全性 100,并且可以是 1 或 4。
If I give the input constant let's say 0.0 to mind that is a secuity 100 and be one or four.

我的声音将是 100% 关闭,与此不同,对新闻报道的零人值响应越低,则关闭值 2.5。
My voice would be 100 percent closed dissimilar to this one the lower the zero person values response to the news report is due to void that be closed the values 2.5.

嗯,这也按顺序发生在这里。
Well that happens in order here as well.

如果是 5.0,则为 50% 开放;如果为 1 5 5 5,则为未开放;如果为 10.0 百人;如果为三点零,则为比例控制的 30%。
If it's 5.0 50 percent open if it's 1 5 5 5 unopen if it's 10.0 hundred personnel also if it is between if it is three point zero then 30 percent of the proportional control.

所以你必须控制你的价值观,你必须控制这些价值观,以便将你的声音控制到不同的比例水平。
So you have to control your values you have to control these values in order to control your voice to different proportional levels.

同样,您必须读取这些值才能监控水箱。
Similarly you have to read these values to monitor the tank.

因此,当您进行级别调整时,您可以校准这些值,并且您再次创建了义务。
So when you do the level so you can calibrate these values and you again create an obligation.

因此,液位面对面约会。
So a liquid level in-person date.

我在接下来的光线中解释过的状态是如何的,好吧,你知道,也许在最后的光线中我们正在展示其逻辑。
How did a state that I've been explaining about in the next light okay you know maybe in the last light we are showing the logic for this.

那么接下来会发生什么。
So what is next.

好的,如果你想看看环境我可以在这里给你展示。
OK if you want to have a look at the environment I can show you here.

这是我的,这是我的 D 级人员 daj 等级,那个坦克已经配置了更多。
This is my this is my grade D grade level in person daj and that tank has been configured with a lot more already.

他们可以玩出它的程序正在运行很多。
They could play out its program is running a lot.

我们确实认为这是紧急情况,因为它会自动运行,因为级别较低。
We really think this emergency because it's running automatically because the level is low.

现在让我们回到演示第四步是使用绿色按钮来实现绿色清洗。
So let's go back to presentation now the fourth step is use green button to come toward greenwash.

问:您是否认为该应用程序的另一个主要目标是我们不希望水箱中液位过低。
Q Are you on for another main objective of this application is that we do not want low level in the tank.

我们总是希望感谢应该处于中等或高于中等水平。
We always want thanks should be at the middle or more then more than mid level.

好的,如果它处于低水平,那么会自动防御可作废的工作,并且它将填满油箱。
OK so if it is at the low level then automatically defend voidable work and it will fill the tank.

这就是应用程序。
That's the application.

但现在你知道我们已经模拟配置了绿墙。
But now you know that we have configured the green walls in analog.

这更多是一个类比。
This is an analog more.

好的。
OK.

因此,当我们有按钮时,这将由受过训练的墙壁按比例控制进行排水。
So this will be controlled proportionally by the trained wall for doing the drain while we have the button.

您没有比例输入,但我们有这个按钮,您在这里看到我们有屏幕按钮。
You don't have a proportional input but we have this button you see here we have the screen button.

所以这是一个开关按钮,但阀门是比例的。
So this is an on off button but the valve is proportioning.

因此,在这种情况下您需要做的事情就在这里。
So what you have to do in that case go right here.

在这种情况下,你必须四处走动。
In that case you have to move around.

所以我们正在使用“来吧”这一举动。
So we're using the move Come on.

好的。
OK.

因此,如果按下训练按钮,则该按钮将被按下,并且面板将经受住风的考验。
So if the training button is pressed the button is pressed and the panel it mean will stand wind.

我出院的所有人员实际上都是四人之一。
All in my discharge was really one of four.

好的。
OK.

所以如果我按下这个按钮,如果我按下这个按钮,它就会移动,然后指向我的排水花瓶。
So if I press this button if I press this button this will move then point all in my draining vase.

这是我在这里训练的一张出院的一张。
This is my training one here discharged one.

中士的点数只有一半。
The Sarge with half the value in point.

哦,这意味着两者都得到了处理。
Oh it means it's handled both in all.

所以我的火车将 100% 开放。
So my train will be 100 percent open.

因此训练将在 100% Flury 下进行。
So training will be at 100 percent Flury.

如果我按下停止按钮,这就是我的停止按钮。
If I press the stop button this is my stop button.

这将在我的 QAD 中移动零,这是该垃圾箱中四个零移动之一,它是一种绿色,处于解除武装状态。
This will move zero in my QAD one of four zero's moves in the in that bin it is a sort of this green was on the disarm fall.

它将被关闭。
It will be closed.

所以这是通过按钮打开并在晚上关闭的。
So this is opened by the button and close by night.

这就是你在控制其他情况时移动身体的方法。
So this is how you can move the body when control the otherwise.

因此,苏联控制格林的一个基本例子是使用按钮。
So the one example basic example Soviet controlling Green was using a button.

好的,如果按下此按钮,那么它会在他的第一步移动时停止。
Ok if this button is pressed then it falls at the stop on his first move.

就那么简单。
Simple as that.

现在下一行说的是坦克操纵杆和控制在那一刻。
Now the next line say is either the tank levers and control was in that moment.

好的。
OK.

因此,尽管如此,现在让我们看看表格。
So despite as of now let's see the table.

我们想要什么。
What we want.

如果数据级别是总共20人就OK了。
If the data level is the total 20 person OK.

在这种情况下,我的钱包应该 100% 打开,因为我的水箱液位很低。
In that case my wallet should be 100 percent open because my tank level is low.

所以我想以 100% 的流速填充墙壁。
So I want to fill the wall with 100 percent flow rate.

因此,在 100 人可以服务时,我的水箱水位会增加,如果水流量达到 20% 到 40%,我会将其打开到 90%。
So on the 100 person can serve my tank level increases and the flow of water if it reaches 20 to 40 percent I will open it at 90 percent.

所以我会按比例逐步调整它,这不是一个更精确的比例。
So I will proportionally degrees it in step wise it's not a it's not an exact proportionate more.

这不是博士学位。
It's not a Ph.D.

更多,但这是向前迈出的一步。
more but it's a step forward.

好的。
OK.

因此,我们将逐步推进两名后来被释放的博士。
So we'll proceed step by step two Ph.D.s who are later released.

然后,如果水平为 40% 至 60%,则 174 Bozon 为 Floreat,如果 60 至 80 英里和 150 英里的限制为 Floreat,则可能已加载。
Then if the level is 40 to 60 percent 174 Bozon was Floreat and maybe that's loaded if the limit of 60 to 80 miles and 150 was in floreat.

好的。
OK.

如果杠杆是 80% 到 100%,我希望那不是黎巴嫩人的确切时速 100 英里。
If the lever is 80 to 100 percent I want that wasn't really the Lebanese exact 100 miles an hour.

那是因为我不想结束。
That was because I don't want over.

好的。
OK.

那么他们是如何设计逻辑来处理这些需求的。
So how logic has been designed that they deal with these requirements.

我们可以在这里看到这一点。
We can see that here.

这一点,这是非常明显的。
This is this is quite visible.

现在,如果你看到西兰人的射程,那么我已经在射程中使用了操作员,因为我们正在使用射程,所以他们有足够的脉冲,现在有头分散剂,但我告诉过你,最初我们有零到十点零。
Now if you see the range of Zealander's so I have used the operator in range because we are using the ranges so they have plenty pulse and now headed dispersant but I told you that initially we have zero to ten point zero.

所以在这里我们推出了正确的 Duane Deaver 右零点零到 2.0,因为在数据中它低了 8000 个坦克,我们得到了零到十点零,我们可以在这里看到这一点。
So here we launched right Duane Deaver right zero point zero to 2.0 because in the data it is 80 hundred tank lower we're getting zero to ten point zero we can see that here.

是的,我们在您面前得到了值 0 100。
Yeah we are getting the value zero 100 in front of you.

所以他们在这里使用这些范围 0 到 2.0 意味着去任何人。
So they're using these ranges here 0 to 2.0 means to go any person.

所以这个级别有点宏大,在这个范围内,我们的安全程度比我的航行中的一百人值班一百人还要多。
So the level is a little grandiose and in this range we are more in then and the security 100 than is what hundred person there duty 100 is my voyage.

这就是关系。
So that's the relation.

同样,如果是 20 到 40 到 2.0 到 4.0,这是第二个范围。
Similarly if it's 20 to 40 to 2.0 to 4.0 This is the second range.

我们正在将 9.0 90% 从 4.0 迁移到 6.0。
We are moving 9.0 90 percent from 4.0 to 6.0.

我们正在将 5 个从 6 个移动到 8 个,将 5.0 个从 8 个移动到 10 个,并且将 2.5 个移动到 25%(如果恰好如此,那么我们将移动到 0)。
We are moving in five from six to eight moving 5.0 from eight to 10 and moving 2.5 25 percent if it's exactly then we are moving zero.

所以这将结束。
So this will close on.

这就是逻辑。
So that's the logic.

好的。
Okay.

因此,接下来的步骤指示填充和排水操作,甚至闪烁指示器,所以我们之前已经看到过,但在我们所做的之前,我们使用了填充墙和排水墙的一些输出,但我们在这里没有中断。
So next steps indicate filling and draining operation even blinking off indicators so this we have seen before but before what we were doing we were using a bit of the output of the filling wall and the draining one but we don't have break here.

我们这里有一个模拟值。
We have an analog values here.

所以我们所得到的是,如果感觉在 0 到 10 之间,这意味着它正在被填充,填充可能在 0 到结束之间,因为我们正在做更多的一步,我们有 100% 90% 的嗡嗡声和会合发生,所以不会发生。这两天的感情是在哪一天完成的并不重要。
So what we have is if the feeling is between zero to 10 it means it's being filled filling could be between zero and end because we are doing a step more and we are having 100 percent 90 percent of the buzz and rendezvous happens and so doesn't matter in which both days feeling is being done.

但如果正在做的话。
But if it is being done.

所以它可能在 10 和 0 的范围内。
So that might be in the range of 10 and 0.

我们使用的竞争对手大于和小于填充值介于零之间。
We're using a competitor greater than and less than the value of filling is between zero.

同样,我们有一个时钟和一个紧急停止感觉指示器,因此它会闪烁。
Again we have a clock both an emergency stop feeling indicators so this will blink.

这会。
This will.

这将遵循这个时钟。
This will follow this clock.

这会打破。
This will break.

同样,对于训练的消耗,我们只是让它不断地进行。
Similarly for draining for training we are just making it making it on and off.

所以我们不使用这个范围进行钻孔。
So we're not using this range for drilling.

我们只有阅读所有这 10.0 的价值,这里的紧急情况和标题中的问候语都是时钟,所以这非常简单。
We have just the value of reading all this 10.0 and the clock is on emergencies here and the greeting in the rubric So it's pretty simple.

所以继续前进。
So moving ahead.

在两者中显示该坦克并使其老化程度与之前相同。
Display that tank in both and age an equal level as it's been before that.

现在秘密杠杆就在这里。
Now the secret lever is here.

续集在这里显示,我们希望这个能够亲自展示 daj。
The sequel displays here we want this to display that in person daj.

好的。
OK.

现在你该怎么做呢?
Now how do you do that.

这确实是达到实际价值水平的简单方法。
It's really the easy way of getting that that level in real values.

0190 这是 10.0 的实际值。
0190 this is a real value to 10.0.

好的。
OK.

或者你想亲自展示这一点。
Or do you want to show that in person.

因此,要做到这一点,我们能做的就是,这是,这是,这是不开放的。
So to do that what we can do that is this is this is this is not open.

这是食品安全眼镜。
This is food safety glasses.

所以当他们住在这里并住在这里时。
And so when them live here and live here.

所以如果你想显示 2.5 到 25,这很简单,我们只需将其除以 10 即可。
So it's very easy if you want to display 2.5 to 25 we just might divide it by 10.

杜邦不错。
Dupont fine.

如果我连二十五个零都拿不到。
And if I I don't even get twenty five zero.

但我想如果你不相乘,你会得到 50,你会在这里看到 2 点 2 美元 4.0 5 点 2。
But I imagine you would get 50 if you don't multiply you will see here two point two dollars 4.0 five point two.

所以这可能会令人困惑。
So that may be confusing.

我们想亲自证明,他们可能会除以 10,甚至会得到贬值的百分比。
We want to show that in person they just might divide by 10 even get devalued percentage.

好的。
OK.

这就是亲自显示水箱液位的逻辑。
So that's the logic to display the tank level in person.

那么你有证据表明他参与了该行动,因此他使用了紧急 Valentijn 更多 0 1 0 0 1 0 填充是错误的。
Then you have evidence he bought into the operation so he used emergency Valentijn more 0 1 0 0 1 0 in-fill was wrong.

我们有一个红绿灯。
And we have a stoplight.

这很容易,因为如果你移动零 B 就会关闭。
This is easy because if you move zero B is going to be off.

好的。
All right.

那么让我们检查一下这个逻辑。
So let's check this logic.

其实我们现在为什么是一排窗户呢。
In fact we are now why is it a line of windows.

程序就在这里。
And the program is here.

所以一开始你可以看到它,这是我的坦克。
So initially you can see it and this is my tank here.

如果你知道这里的程序有什么吸引力,你就可以得到。
You can get if you know what is appeal's the program here.

让我们注意,现在银行水平的范围在零和二之间,因为杠杆没有杠杆为零。
Let's notice that range right now the bank level is between zero two because the lever is there's no lever is zero.

所以你可以看到,在我点击播放的那一刻,它会运行我的填充是八百,因为没有级别。
So you can see that at the moment I click on play it will run my fill was eight hundred both because there is no level.

所以这种情况一路自动就可以看到这个是上百了。
So this situation all the way automatically on you can see that this one is on a hundred.

现在让我看看有什么紧急情况。
Now let me just what emergency.

我想在这里向您展示一些读物。
I want to show you some readings here.

我们居住的菲尔·克兰(Phil Crane)是两点一。
Phil Crane on which we live is two point one.

我希望我们能在这里看到这一点。
I hope we can see that here.

是的,这很完美。
Yeah that's perfect.

好的。
OK.

现在等级在二​​到四之间。
Now the level is between two to four.

这个块是真实的。
And this block is true to form.

如果你想看到的是浮动的 2.5。
And if you want to see that in this just the floating 2.5.

然后这个杠杆 这个博客 90% 就会打开。
And then this lever This blog is on 90 percent will then be open.

好的,如果我把紧急情况变得非常简单,那么 90% 的开放水平正在增加。
OK so if I make it very easy emergency this is 90 percent of what is open at 90 percent level is increasing.

现在,如果你从 4 到 6 之间移动到三楼,现在就是 4 到 6。
Now if you move to the third floor between 4 to 6 now it is four to 6.

好吧,同样的开发人员打开7.5,所以你可以看到液体已经减少。
Well the same developers and open 7.5 so so you can see that the fluid has been decreased.

让我们仔细看看。
So let's have a closer look.

是的。
Yeah.

现在它位于第三个块 6 到 8,因为读数是 6.8。
Now it's on the third block 6 to 8 because reading is 6.8.

时速是 50 英里,您可以看到液体减少了。
It's 50 miles an hour and you can see that the fluid has decreased.

好的,现在让我们继续往下走。
OK now let's move down.

现在是80到10之间。
Now it's between 80 to 10.

因此,在这种情况下,现在开放率为 25%。
So it's 25 percent open now in this case.

如果我开始绿化,你会发现流量会减少。
If I start greening you will notice the flow will decrease.

您可以注意到绿化已打开,并且您可以注意到由于绿化已打开,水位正在下降。
You can notice that the greening is on and you can notice that the level is decreasing because the greening is on.

而且是百分百。
And hundred percent.

好的。
OK.

所以你可以看到水位正在下降,沃尔维斯现在设置为空位,海内克过去和现在都在排水,但 75% 的水位已满。
So you can see that the level is decrease and the Walvis now set up as an open and Heyneke was and is draining but 75 percent is filling.

所以水平在慢慢下降。
So the level is decreasing slowly.

好的。
Okay.

因为我把毛毡压得很好,一直压下去会消耗体力。
Because I'm pressing the felt well and keep pressing is draining.

现在您会注意到,此处为 4.7,表示 100% 钻孔和 75% 填充,并且默认情况下填充的流速高于排水速率。
Now you will notice that here it's 4.7 to go said 100 percent drilling and 75 percent filling and filling by default as having a higher flow rate than draining.

那么让我们看看会发生什么。
So let's see what happens.

这是现在居住的人年龄21人天。
This is the person age 21 person days of living now.

越到40,你就说过有九个人正在填充,百分百的排水已经在排水,现在你可以看到闪烁正在发生。
The more it goes to 40 you've said there were nine people filling is on and hundred percent draining is already on the draining his own right now you can see the blinking is going on.

现在,在这个级别上,您可以看到亲自进行钻孔的稳定性。
Now at this level you find the stability you can see that the drilling is on in person.

这不是排水阀所利用的。
It wasn't what is being utilized by the drainage valve.

失败率只有 90%。
Failing is on by only 90 percent.

所以这是第二个,这是水平恒定的稳定点。
So this is the second this is the stability point where the level is constant.

好的。
OK.

所以这就是你也可以想象的,如果油是 90%,布兰妮的 100 布森水平不会增加。
So that's how that's how you can also imagine that if the oil is 90 percent Brittney's one hundred Busson level is not increasing.

我的意思是它甚至没有减少。
I mean it's not even decreasing.

好的。
OK.

因此,如果我做到 100%,那就会有所增加,但我不会这样做,因为这是由程序控制的。
So if I make it 100 percent that will be an increase but I'm not doing that because this is controlled by the program.

所以这是一个矿井,我的意思是这里的水平,好吧,我有一个紧急新闻,什么都停止了。
So this is a mine where the level that I mean here OK I've a press emergency what's stop.

好的。
OK.

这就是您控制水箱中的水的方法,当您在显示器上执行此操作时也可以。
So this is how you can control your water in the tank and you can also when you do that on your display.

好的,您也可以在课程中获取该文件的副本,您也可以学习该文件,如果您有任何疑问,可以指挥。
OK you can get a copy of this called in the in the course as well you can study that if you have any doubt you can put in command.

谢谢您的观看。
So thank you for watching.

您可以获得本演示文稿的副本以及 PDA,当然我们会在下一个视频中见到您。
And you can get a copy of this presentation as well as a PDA of course I'll see you in the next video.